<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/30
 * Time: 10:43
 */

namespace vendor\core;


class NumOrder extends order
{
    protected $numb = 5;

    private function num($num1){
        echo $num1;
    }
    public function __construct()
    {
        echo '订单!';
        echo '<br />';
    }
    public function createOrder()
    {
        echo '创建!';
        echo '<br />';
        echo $this->num(10);
        echo '<br />';
        echo '订单编号:'.$this->gengeralOrder();
        echo '<br />';
    }
    public function deleteOrder()
    {
        echo '删除!';
        echo '<br />';
    }
    public function __destruct()
    {
        echo '删除!';
        echo '<br />';
    }
}